package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Employee;

import java.util.List;

public interface EmployeeService {
    ResultInfo login(String username, String password);
//查询员工
    List<Employee> findList(String name);
//新增员工
    void save(Employee employee);

    Employee findById(Long id);

    void update(Employee employee);
}


